package com.qf.joint.service.impl;

import com.qf.joint.dao.RecruiterDao;
import com.qf.joint.pojo.Recruiter;
import com.qf.joint.service.RecruiterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RecruiterServiceImpl implements RecruiterService {
    @Autowired
    private RecruiterDao recruiterDao;
    @Override
    public int delete(List<Integer> list) {
        return recruiterDao.delete(list);
    }

    @Override
    public int insert(Recruiter recruiter) {
        return recruiterDao.insert(recruiter);
    }

    @Override
    public int update(Recruiter recruiter) {
        return recruiterDao.update(recruiter);
    }

    @Override
    public List<Recruiter> select(Recruiter recruiter) {
        return recruiterDao.select(recruiter);
    }
}
